<!DOCTYPE html>
<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .d1{
            display: inline-block;
        }
        .d2{
            display: inline-block;
        }
    </style>
</head>
<body>
    <form method="post" action="${pageContext.request.contextPath}/compensate_update">
        <div class="d1">
           <p>
               <span>合同编号</span>
               <input type="text" name="contractNO" required="required" value="${contractNO}"/>
               <span style="color: red">*</span>
           </p>
           <p>
               <span>合同摘要</span>
               <input type="text" name="contractInfo"  required="required" value="${contractInfo}"/>
               <span style="color: red">*</span>
           </p>
           <p>
               <span> 签定日期</span>
               <input type="text" name="sigDate" value="${sigDate}"/>
           </p>
           <p>
               <span> 存档日期</span>
               <input type="text" name="keepDate" required="required" value="${keepDate}" />
               <span style="color: red">*</span>
           </p>
           <p>
               <span>补偿类型</span>
               <input type="checkbox" name="compensationType" value="6" <c:if test="${compensationType==6}">checked</c:if>/>征占地补偿
               <input type="checkbox" name="compensationType" value="7" <c:if test="${compensationType==7}">checked</c:if>/>临时占地补偿
               <input type="checkbox" name="compensationType" value="8" <c:if test="${compensationType==8}">checked</c:if>/>青苗补偿
               <input type="checkbox" name="compensationType" value="9" <c:if test="${compensationType==9}">checked</c:if>/>房屋补偿
               <input type="checkbox" name="compensationType" value="10" <c:if test="${compensationType==10}">checked</c:if>/>其他补偿
           </p>
            <p>
                <span>单位名称</span>
                <input type="text" name="companyName" required="required" value="${companyName}"/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>工程项目名称</span>
                <input type="text" name="projName" required="required" value="${projName}"/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>补偿金额</span>
                <input type="text" name="compensationAmount" required="required" value="${compensationAmount}"/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>备注</span>
                <input type="text" name="remark" value="${remark}"/>
            </p>
        </div>
        <div>
            <button type="submit">修改</button>
        </div>
    </form>
</body>
</html>
